const { noRepeat } = require('src-work-study')

let res = noRepeat([1, 2, 2, 3, 3, 3, 4, 4, 4, 4])
console.log(res, 'res')